import 'package:flutter/material.dart';

class WaimaiSearch extends StatelessWidget {
  const WaimaiSearch({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
        width: 120,
        height: 30,
        padding: const EdgeInsets.symmetric(horizontal: 10),
        alignment: Alignment.centerLeft,
        decoration: const BoxDecoration(
            color: Colors.black12,
            borderRadius: BorderRadius.all(Radius.circular(20))),
        child: const Row(
          children: [
            Icon(
              Icons.search,
              size: 18,
              color: Colors.black38,
            ),
            SizedBox(
              width: 5,
            ),
            Text(
              '搜索',
              style: TextStyle(fontSize: 14, color: Colors.black38),
            )
          ],
        ));
  }
}
